<div class="wide form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'action'=>Yii::app()->createUrl($this->route),
	'method'=>'get',
)); ?>

	<div class="row">
		<?php echo $form->label($model,'partno'); ?>
		<?php echo $form->textField($model,'partno',array('size'=>60,'maxlength'=>75)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'description'); ?>
		<?php echo $form->textArea($model,'description',array('rows'=>6, 'cols'=>50)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'type'); ?>
		<?php echo $form->textField($model,'type',array('size'=>1,'maxlength'=>1)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'cat'); ?>
		<?php echo $form->textField($model,'cat',array('size'=>60,'maxlength'=>75)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'subcat'); ?>
		<?php echo $form->textField($model,'subcat',array('size'=>60,'maxlength'=>75)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'averagecost'); ?>
		<?php echo $form->textField($model,'averagecost'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'pricea'); ?>
		<?php echo $form->textField($model,'pricea'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'priceb'); ?>
		<?php echo $form->textField($model,'priceb'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'pricec'); ?>
		<?php echo $form->textField($model,'pricec'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'lastprice'); ?>
		<?php echo $form->textField($model,'lastprice'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'cunits'); ?>
		<?php echo $form->textField($model,'cunits',array('size'=>2,'maxlength'=>2)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'buysellr'); ?>
		<?php echo $form->textField($model,'buysellr'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'markupcode'); ?>
		<?php echo $form->textField($model,'markupcode',array('size'=>2,'maxlength'=>2)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'runits'); ?>
		<?php echo $form->textField($model,'runits',array('size'=>2,'maxlength'=>2)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'costdebit'); ?>
		<?php echo $form->textField($model,'costdebit',array('size'=>10,'maxlength'=>10)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'costcredit'); ?>
		<?php echo $form->textField($model,'costcredit',array('size'=>10,'maxlength'=>10)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'salesdebit'); ?>
		<?php echo $form->textField($model,'salesdebit',array('size'=>10,'maxlength'=>10)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'salescredit'); ?>
		<?php echo $form->textField($model,'salescredit',array('size'=>10,'maxlength'=>10)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'bin'); ?>
		<?php echo $form->textField($model,'bin',array('size'=>10,'maxlength'=>10)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'pricebook'); ?>
		<?php echo $form->textField($model,'pricebook',array('size'=>4,'maxlength'=>4)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'parttype'); ?>
		<?php echo $form->textField($model,'parttype',array('size'=>8,'maxlength'=>8)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'posthist'); ?>
		<?php echo $form->textField($model,'posthist'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'vendor'); ?>
		<?php echo $form->textField($model,'vendor',array('size'=>4,'maxlength'=>4)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'salestype'); ?>
		<?php echo $form->textField($model,'salestype',array('size'=>1,'maxlength'=>1)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'notes'); ?>
		<?php echo $form->textArea($model,'notes',array('rows'=>6, 'cols'=>50)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'billrate'); ?>
		<?php echo $form->textField($model,'billrate'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'nontaxable'); ?>
		<?php echo $form->textField($model,'nontaxable'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'epatype'); ?>
		<?php echo $form->textField($model,'epatype',array('size'=>10,'maxlength'=>10)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'jobclass'); ?>
		<?php echo $form->textField($model,'jobclass',array('size'=>3,'maxlength'=>3)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'fr'); ?>
		<?php echo $form->textField($model,'fr',array('size'=>2,'maxlength'=>2)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'equipment'); ?>
		<?php echo $form->textField($model,'equipment'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'wamonths'); ?>
		<?php echo $form->textField($model,'wamonths'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'aisle'); ?>
		<?php echo $form->textField($model,'aisle',array('size'=>4,'maxlength'=>4)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'histcode'); ?>
		<?php echo $form->textField($model,'histcode',array('size'=>36,'maxlength'=>36)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'mfg'); ?>
		<?php echo $form->textField($model,'mfg',array('size'=>20,'maxlength'=>20)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'model'); ?>
		<?php echo $form->textField($model,'model',array('size'=>30,'maxlength'=>30)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'reorderquanity'); ?>
		<?php echo $form->textField($model,'reorderquanity'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'reorderlevel'); ?>
		<?php echo $form->textField($model,'reorderlevel'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'refrtype'); ?>
		<?php echo $form->textField($model,'refrtype',array('size'=>10,'maxlength'=>10)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'bcost'); ?>
		<?php echo $form->textField($model,'bcost'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'overhead'); ?>
		<?php echo $form->textField($model,'overhead'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'frplabor'); ?>
		<?php echo $form->textField($model,'frplabor'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'inactive'); ?>
		<?php echo $form->textField($model,'inactive'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'ismarkup'); ?>
		<?php echo $form->textField($model,'ismarkup'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'imagepath'); ?>
		<?php echo $form->textField($model,'imagepath',array('size'=>60,'maxlength'=>255)); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton('Search'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- search-form -->